MILKDROP_PRESET_VERSION=201 PSVERSION=3 PSVERSION_WARP=2 PSVERSION_COMP=3 [preset00] fRating=5.000000 fGammaAdj=2.000 fDecay=0.980 fVideoEchoZoom=2.000 fVideoEchoAlpha=0.000 nVideoEchoOrientation=0 nWaveMode=7 bAdditiveWaves=0 bWaveDots=0 bWaveThick=1 bModWaveAlphaByVolume=0 bMaximizeWaveColor=0 bTexWrap=1 bDarkenCenter=0 bRedBlueStereo=0 bBrighten=0 bDarken=0 bSolarize=0 bInvert=0 fWaveAlpha=100.000 fWaveScale=0.198 fWaveSmoothing=0.750 fWaveParam=1.000 fModWaveAlphaStart=0.750 fModWaveAlphaEnd=0.950 fWarpAnimSpeed=0.010 fWarpScale=0.010 fZoomExponent=1.00000 fShader=0.000 zoom=1.00000 rot=-0.02000 cx=0.500 cy=0.500 dx=0.00000 dy=0.00000 warp=0.01000 sx=1.00000 sy=1.00000 wave_r=0.500 wave_g=0.500 wave_b=0.500 wave_x=0.500 wave_y=0.500 ob_size=0.500 ob_r=0.010 ob_g=0.000 ob_b=0.000 ob_a=0.000 ib_size=0.260 ib_r=0.250 ib_g=0.250 ib_b=0.250 ib_a=0.000 nMotionVectorsX=12.800 nMotionVectorsY=11.400 mv_dx=0.000 mv_dy=0.000 mv_l=5.000 mv_r=1.000 mv_g=1.000 mv_b=1.000 mv_a=1.000 b1n=0.000 b2n=0.000 b3n=0.000 b1x=1.000 b2x=1.000 b3x=1.000 b1ed=0.250 wavecode_0_enabled=0 wavecode_0_samples=512 wavecode_0_sep=0 wavecode_0_bSpectrum=0 wavecode_0_bUseDots=0 wavecode_0_bDrawThick=0 wavecode_0_bAdditive=0 wavecode_0_scaling=1.00000 wavecode_0_smoothing=0.50000 wavecode_0_r=1.000 wavecode_0_g=1.000 wavecode_0_b=1.000 wavecode_0_a=1.000 wavecode_1_enabled=0 wavecode_1_samples=512 wavecode_1_sep=0 wavecode_1_bSpectrum=0 wavecode_1_bUseDots=0 wavecode_1_bDrawThick=0 wavecode_1_bAdditive=0 wavecode_1_scaling=1.00000 wavecode_1_smoothing=0.50000 wavecode_1_r=1.000 wavecode_1_g=1.000 wavecode_1_b=1.000 wavecode_1_a=1.000 wavecode_2_enabled=0 wavecode_2_samples=512 wavecode_2_sep=0 wavecode_2_bSpectrum=0 wavecode_2_bUseDots=0 wavecode_2_bDrawThick=0 wavecode_2_bAdditive=0 wavecode_2_scaling=1.00000 wavecode_2_smoothing=0.50000 wavecode_2_r=1.000 wavecode_2_g=1.000 wavecode_2_b=1.000 wavecode_2_a=1.000 wavecode_3_enabled=0 wavecode_3_samples=512 wavecode_3_sep=0 wavecode_3_bSpectrum=0 wavecode_3_bUseDots=0 wavecode_3_bDrawThick=0 wavecode_3_bAdditive=0 wavecode_3_scaling=1.00000 wavecode_3_smoothing=0.50000 wavecode_3_r=1.000 wavecode_3_g=1.000 wavecode_3_b=1.000 wavecode_3_a=1.000 shapecode_0_enabled=0 shapecode_0_sides=4 shapecode_0_additive=0 shapecode_0_thickOutline=0 shapecode_0_textured=0 shapecode_0_num_inst=1 shapecode_0_x=0.500 shapecode_0_y=0.500 shapecode_0_rad=0.10000 shapecode_0_ang=0.00000 shapecode_0_tex_ang=0.00000 shapecode_0_tex_zoom=1.00000 shapecode_0_r=1.000 shapecode_0_g=0.000 shapecode_0_b=0.000 shapecode_0_a=1.000 shapecode_0_r2=0.000 shapecode_0_g2=1.000 shapecode_0_b2=0.000 shapecode_0_a2=0.000 shapecode_0_border_r=1.000 shapecode_0_border_g=1.000 shapecode_0_border_b=1.000 shapecode_0_border_a=0.100 shapecode_1_enabled=0 shapecode_1_sides=4 shapecode_1_additive=0 shapecode_1_thickOutline=0 shapecode_1_textured=0 shapecode_1_num_inst=1 shapecode_1_x=0.500 shapecode_1_y=0.500 shapecode_1_rad=0.10000 shapecode_1_ang=0.00000 shapecode_1_tex_ang=0.00000 shapecode_1_tex_zoom=1.00000 shapecode_1_r=1.000 shapecode_1_g=0.000 shapecode_1_b=0.000 shapecode_1_a=1.000 shapecode_1_r2=0.000 shapecode_1_g2=1.000 shapecode_1_b2=0.000 shapecode_1_a2=0.000 shapecode_1_border_r=1.000 shapecode_1_border_g=1.000 shapecode_1_border_b=1.000 shapecode_1_border_a=0.100 shapecode_2_enabled=0 shapecode_2_sides=4 shapecode_2_additive=0 shapecode_2_thickOutline=0 shapecode_2_textured=0 shapecode_2_num_inst=1 shapecode_2_x=0.500 shapecode_2_y=0.500 shapecode_2_rad=0.10000 shapecode_2_ang=0.00000 shapecode_2_tex_ang=0.00000 shapecode_2_tex_zoom=1.00000 shapecode_2_r=1.000 shapecode_2_g=0.000 shapecode_2_b=0.000 shapecode_2_a=1.000 shapecode_2_r2=0.000 shapecode_2_g2=1.000 shapecode_2_b2=0.000 shapecode_2_a2=0.000 shapecode_2_border_r=1.000 shapecode_2_border_g=1.000 shapecode_2_border_b=1.000 shapecode_2_border_a=0.100 shapecode_3_enabled=0 shapecode_3_sides=4 shapecode_3_additive=0 shapecode_3_thickOutline=0 shapecode_3_textured=0 shapecode_3_num_inst=1 shapecode_3_x=0.500 shapecode_3_y=0.500 shapecode_3_rad=0.10000 shapecode_3_ang=0.00000 shapecode_3_tex_ang=0.00000 shapecode_3_tex_zoom=1.00000 shapecode_3_r=1.000 shapecode_3_g=0.000 shapecode_3_b=0.000 shapecode_3_a=1.000 shapecode_3_r2=0.000 shapecode_3_g2=1.000 shapecode_3_b2=0.000 shapecode_3_a2=0.000 shapecode_3_border_r=1.000 shapecode_3_border_g=1.000 shapecode_3_border_b=1.000 shapecode_3_border_a=0.100 per_frame_1=rot=if(above(bass,1.3),-rot,rot); per_frame_2=wave_x=0.5+(cos(time*2.8)*0.3); per_frame_3=wave_r=int(rand(101))/100; per_frame_4=wave_g=int(rand(101))/100; per_frame_5=wave_b=int(rand(101))/100; per_frame_6=cx=0.5+sin(time*3)*0.9; per_frame_7=cy=0.5+cos(time*3)*0.9; per_pixel_1=//rot=if(above(rad,0.5),-rot,rot); per_pixel_2= per_pixel_3=// i don't like the block effects very much, the sigmoid function does a very good job to avoid them per_pixel_4=// http://en.wikipedia.org/wiki/Sigmoid_function per_pixel_5=// welcome to our crazy microcosmos ;) per_pixel_6= per_pixel_7=c = 8; // try values from 1 to 100 per_pixel_8=rot = rot*(sigmoid(rad-0.5,c)-0.5)*2; warp_1=`shader_body warp_2=`{ warp_3=` warp_4=` float2x2 rot = { q5, q4, warp_5=` -q4, q5 }; warp_6=` warp_7=` float3 txr = float3(uv,q2); warp_8=` warp_9=` float final_noise = 0; warp_10=` final_noise += (1.0/pow(2,0))*(tex3D(sampler_noisevol_hq, txr*pow(q3,0))*2-1); warp_11=` final_noise += (1.0/pow(2,1))*(tex3D(sampler_noisevol_hq, txr*pow(q3,1))*2-1); warp_12=` final_noise += (1.0/pow(2,2))*(tex3D(sampler_noisevol_hq, txr*pow(q3,2))*2-1); warp_13=` final_noise += (1.0/pow(2,3))*(tex3D(sampler_noisevol_hq, txr*pow(q3,3))*2-1); warp_14=` warp_15=` final_noise = pow(final_noise,1); warp_16=` warp_17=` ret = tex2D(sampler_main, mul(uv-0.5,rot)*(1-rad*3.7*(1 - bass_att*0.3))*final_noise + 0.5).xyz; warp_18=` warp_19=` // darken (decay) over time warp_20=` ret = ret - 0.08; //or try: ret -= 0.004; warp_21=`} comp_1=`sampler sampler_pw_noise_lq; comp_2=` comp_3=`float2 rs, rss, rss0, tmp, uvo; comp_4=`float3 noise; comp_5=` comp_6=`float2 complex_div(float2 numerator, float2 denominator){ comp_7=` return float2( numerator.x*denominator.x + numerator.y*denominator.y, comp_8=` numerator.y*denominator.x - numerator.x*denominator.y)/ comp_9=` (denominator.x*denominator.x + denominator.y*denominator.y); comp_10=`} comp_11=` comp_12=`float2 uv_polar(float2 domain, float2 center){ comp_13=` float2 c = domain - center; comp_14=` float rad_hq = length(c); comp_15=` float ang_hq = atan2(c.x,c.y); comp_16=` return float2(ang_hq, rad_hq); comp_17=`} comp_18=` comp_19=`float2 uv_polar_logarithmic(float2 domain, float2 center, int fins, float log_factor, float2 coord){ comp_20=` float2 polar = uv_polar(domain, center); comp_21=` return float2(polar.x*fins+coord.x, log_factor*log(polar.y) + coord.y); comp_22=`} comp_23=` comp_24=`float2 uv_moebius_transformation(float2 domain, float2 zeroPoint, float2 infinityPoint,float zoom){ comp_25=` return complex_div((domain - zeroPoint)*zoom, domain - infinityPoint)+0.5; comp_26=`} comp_27=` comp_28=`float2 uv_bipolar_logarithmic(float2 domain, float2 northPole, float2 southPole, int fins, float log_factor, float2 coord){ comp_29=` float2 help_uv = uv_moebius_transformation(domain, northPole, southPole, 1); comp_30=` return uv_polar_logarithmic(help_uv,0.5,fins,log_factor,coord)*float2(M_INV_PI_2,1); comp_31=`} comp_32=` comp_33=`float2 uv_scale(float2 domain, float2 center, float2 scale){ comp_34=` return center + (domain-center)*scale; comp_35=`} comp_36=`float2 uv_lens_half_sphere(float2 domain, float2 position, float radius, float refractivity){ comp_37=` float2 polar = uv_polar(domain, position); comp_38=` float cone = saturate(1-polar.y/radius); comp_39=` float halfsphere = sqrt(1-pow(cone-1,2)); comp_40=` float w = atan2(1-cone,halfsphere); comp_41=` float refrac_w = w-asin(sin(w)/refractivity); comp_42=` float refrac_d = 1-cone - sin(refrac_w)*halfsphere/cos(refrac_w); comp_43=` float2 refrac_uv =position+float2(sin(polar.x),cos(polar.x))*refrac_d*radius; comp_44=` bool mask =(length(domain-position)= 0); comp_58=` tmp = abs(frac(rss*8)-.5); comp_59=` float3 dots = saturate(.04/length(tmp)) *noise; comp_60=` rss = float2 (rss0.x,rss0.y+(time+o)/4); comp_61=` rss = mul(rss,float2x2(.7,.7,-.7,.7)); comp_62=` noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); comp_63=` tmp = abs(frac(rss*8)-.5); comp_64=` dots += saturate(.02/length(tmp)) * noise; comp_65=` dots *= saturate(.2/abs(rss0.y)); comp_66=` return dots*dots; comp_67=`return 0; comp_68=`} comp_69=` comp_70=` comp_71=` comp_72=` comp_73=` comp_74=` comp_75=`shader_body comp_76=`{ comp_77=`uv = 0.5 + (uv-0.5)*aspect.wz; comp_78=`time *= 0.4; comp_79=` comp_80=`float2 pole1 =float2(0.1,0.5); comp_81=`float2 pole2 =float2(0.9,0.5); comp_82=` comp_83=`float stars = hardcore_stars(uv,pole1,0) + hardcore_stars(uv,pole2,2); comp_84=` comp_85=`uv = uv_bipolar_logarithmic(uv, pole1, pole2, 2, 0.3, float2(q26,q27)*float2(8,1)); comp_86=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5)*0.98; // Eo.S. mirror code with cutted borders comp_87=`uv = uv.yx; comp_88=` comp_89=`float2 uv1 = uv; comp_90=`float2 d = texsize.zw*3; comp_91=`float3 dx = GetBlur1(uv1 + float2(1,0)*d) - GetBlur1(uv1 - float2(1,0)*d); comp_92=`float3 dy = GetBlur1(uv1 + float2(0,1)*d) - GetBlur1(uv1 - float2(0,1)*d); comp_93=`uv1 = uv+float2(dx.x,dy.x)*texsize.zw*32; comp_94=` ret = GetPixel(uv1).x*float3(1,0,0)*0.5; comp_95=` comp_96=`ret.x += (+dx.x - dy.x)*0.4; comp_97=`ret.x = pow(ret.x,0.8)*1.2; comp_98=` comp_99=`ret = lerp(ret,float3(1,1,1),GetPixel(uv1).z); comp_100=` comp_101=`ret = lerp(ret,1-GetPixel(uv)*1.5,stars); comp_102=`} comp_103=` comp_104=`